<%@page import="org.hr.xtime.absence.DayType"%>
<table class="calendar" style="display: inline-block;">
	<tr>
	<th>Employee</th>
	<g:each in="${DayType.list()}" var="dayType">
		<th>${dayType}</th>
	</g:each>
	</tr>
	<g:each in="${employees}" var="employee">
		<tr>
			<th class="calHead">${employee}</th>
			<% Map employeeBalance = balance.get(employee) %>
			<g:each in="${DayType.list()}" var="dayType">
				<td style="text-align:right; padding-right:10px; border:1px solid lightgrey">
					${employeeBalance[dayType.key]}
				</td>
			</g:each>
		</tr>
	</g:each>
</table>